package com.cloud.zhimao.system.user.pojo.em;


import lombok.Getter;

@Getter
public enum  UserStatus {
    STATUS_FROZEN(0, "冻结账户"),
    STATUS_INITIAL(1, "初始用户"),
    STATUS_ADMIN(9, "ROOT"),
    ;

    /**
     * 用户状态key
     */
    private Integer key;

    /**
     * 用户状态值
     */
    private String value;

    /**
     * 构造
     * @param key
     * @param value
     */
    UserStatus(Integer key, String value){
        this.key = key;
        this.value = value;
    }
}
